Skip to content

ci(downgrade): default mode to "deps" (fix empty-mode regression)#68

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix-downgrade-empty-mode
Jun 6, 2026
Merged

ci(downgrade): default mode to "deps" (fix empty-mode regression)#68
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix-downgrade-empty-mode

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown

The empty-mode regression from #64 is still live on @v1: the merged #67 added only the project input, not the mode fix. downgrade.yml still has mode default "" and passes mode: "${{ inputs.mode }}", which julia-downgrade-compat rejects (mode in valid_modes || error()), so every caller without an explicit mode fails at the downgrade-compat step before tests run.

This sets the default to deps and maps an explicit empty string to deps.

After merge, v1 must be retagged for callers to pick it up. Until then, callers can work around it by passing mode: "deps" explicitly.

Ignore until reviewed by @ChrisRackauckas.

🤖 Generated with Claude Code

PR SciML#64 added a `mode` input defaulting to "" and passed it through
verbatim as `mode: "${{ inputs.mode }}"`. julia-downgrade-compat rejects
an empty mode (`mode in valid_modes || error()`, downgrade.jl), so every
downgrade.yml@v1 caller that does not set `mode` explicitly errors at the
downgrade-compat step before tests run — breaking downgrade CI org-wide.

PR SciML#67 added the `project` input but did NOT include this fix, so the
regression is still live on @v1. Default `mode` to "deps" and map an
explicit empty string to "deps" as well.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas marked this pull request as ready for review June 6, 2026 17:42
@ChrisRackauckas ChrisRackauckas merged commit 6fda0c2 into SciML:master Jun 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants